//
//  DoTestBelowInformationRootClass.m
//  __PRODUCTNAME__
//
//  Created by li cheng on 16/09/02
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "DoTestBelowInformationRootClass.h"
#import "DoTestBelowInformationData.h"

@implementation DoTestBelowInformationRootClass

+ (NSDictionary *)objectClassInArray{
    return @{@"data" : [DoTestBelowInformationData class]};
}

- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        NSMutableArray<DoTestBelowInformationData *> *mArrayTestBelowInformationData = [NSMutableArray array];
        for (NSDictionary *dic in _data) {
            DoTestBelowInformationData *doTestBelowInformationData =[DoTestBelowInformationData modelDic:dic];
            [mArrayTestBelowInformationData addObject:doTestBelowInformationData];
        }
        _data = mArrayTestBelowInformationData;
    }
}
@end
